package com.hospital.registrationappointment.module.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hospital.registrationappointment.module.entity.ClinicIndex;
import com.hospital.registrationappointment.module.entity.ClinicSequen;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lvyao
 * @since 2023-10-17
 */
public interface ClinicSequenMapper extends BaseMapper<ClinicSequen> {

    int getcountTimes(@Param("patientId") String patientId, @Param("visitTime") String visitTime, @Param("clinicLabel") String clinicLabel, @Param("deptCode") String deptCode, @Param("timeQuantum") String timeQuantum);
    Date getSysdate();
    String getAppointNo();
    String getVisitNoNext();
    String getDoctorName(@Param("staffNo") String staffNo);
    String getDeptName(@Param("deptCode") String deptCode);
    String getClinicDept(@Param("deptCode") String deptCode);
    ClinicIndex getbyClinicLable(@Param("clinicLabel") String clinicLabel);
}
